package org.xinjiang.data.migration.hainan.enums;

import lombok.Getter;

/**
 * @author: 邢卫
 * @date: 2023年12月15日 10:15
 */
@Getter
public enum KeyColumnEnum {

    TABLE_SYS_DEPART("SYS_DEPART", "部门", "ID", "SOURCE_ID", "PARENT_ID", "ORG_CODE"),

    TABLE_SYS_USER("SYS_USER", "用户", "ID", "SOURCE_ID", null, null),

    TABLE_MST_COMMUNITY_WORKER("MST_COMMUNITY_WORKER", "社区工作者", "ID", "SOURCE_ID", null, null),

    TABLE_MST_COMMUNITY_VOLUNTEER("MST_COMMUNITY_VOLUNTEER", "社区志愿者", "ID", "SOURCE_ID", null, null),

    TABLE_MST_CORRECTIONTEAM_FUNCTIONARY("MST_CORRECTIONTEAM_FUNCTIONARY", "社区矫正工作人员", "ID", "SOURCE_ID", null, null);

    private String tableName;

    private String tableDescribe;

    private String tableIdName;

    private String parentId;

    private String code;

    //是否有SOURCE_ID
    private String sourceId;

    KeyColumnEnum(String tableName, String tableDescribe, String tableIdName, String sourceId, String parentId, String code) {
        this.tableName = tableName;
        this.tableDescribe = tableDescribe;
        this.tableIdName = tableIdName;
        this.sourceId = sourceId;
        this.parentId = parentId;
        this.code = code;
    }
}
